TransitionCallback

interface TransitionCallback<S, T : Any>

Functions

Link copied to clipboard
abstract fun enteredState(    stateMachine: StateMachine<S, T>,     previousState: S,     transition: T,     currentState: S)

After a state transition has been verified to be legal and also applied to a machine.

Link copied to clipboard
abstract fun enteringState(    stateMachine: StateMachine<S, T>,     currentState: S,     transition: T,     targetState: S)

After a state transition has been verified to be legal but has not yet been applied to the machine.